testsuite: Test GtkFixed rewriting
authorMatthias Clasen <mclasen@redhat.com>
Sun, 1 Nov 2020 22:32:47 +0000 (17:32 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 2 Nov 2020 04:09:26 +0000 (23:09 -0500)
testsuite/tools/simplify-data-3to4/fixed.expected [new file with mode: 0644]
testsuite/tools/simplify-data-3to4/fixed.ui [new file with mode: 0644]

diff --git a/testsuite/tools/simplify-data-3to4/fixed.expected b/testsuite/tools/simplify-data-3to4/fixed.expected
new file mode 100644 (file)
index 0000000..74953b1
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <requires lib="gtk+" version="3.0"/>
+  <object class="GtkFixed">
+    <child>
+      <object class="GtkButton" id="button">
+        <layout>
+          <property name="transform">translate(10, 15)</property>
+        </layout>
+        <property name="visible">0</property>
+      </object>
+    </child>
+  </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/fixed.ui b/testsuite/tools/simplify-data-3to4/fixed.ui
new file mode 100644 (file)
index 0000000..699bea2
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.2 -->
+<interface>
+  <requires lib="gtk+" version="3.0"/>
+  <object class="GtkFixed">
+    <property name="visible">True</property>
+    <child>
+      <object class="GtkButton" id="button">
+      </object>
+      <packing>
+        <property name="x">10</property>
+        <property name="y">15</property>
+      </packing>
+    </child>
+  </object>
+</interface>